package piblanes;

import javax.swing.*;



/**
 * Interface, which should be implemented by classes, which would to control the biplane
 */
public abstract class Controller extends JComponent{
    Controller(Player player_) {
        player = player_;
    }

    void sendSignal(ControllerSignal signal) {
        player.receiveSignal(signal);
    }

    public Player player;
}
